|
|
@@ -311,12 +311,12 @@ def shot_request_signed(request, administrator):
|
311
|
311
|
|
312
|
312
|
@logit
|
313
|
313
|
@check_admin
|
314
|
|
-def shot_request_tracking_info(request):
|
|
314
|
+def shot_request_tracking_info(request, administrator):
|
315
|
315
|
request_id = request.POST.get('request_id', '')
|
316
|
316
|
type_ = request.POST.get('type', 'tracking') # tracking / back_tracking
|
317
|
317
|
|
318
|
318
|
try:
|
319
|
|
- req = TenancyShotRequestInfo.objects.get(pk=maintenance_id, status=True)
|
|
319
|
+ req = TenancyShotRequestInfo.objects.get(request_id=request_id, status=True)
|
320
|
320
|
except TenancyShotRequestInfo.DoesNotExist:
|
321
|
321
|
return response(TenancyStatusCode.TENANCY_SHOT_REQUEST_NOT_FOUND)
|
322
|
322
|
|